<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/sks/cms/page/share/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<% String path = request.getContextPath(); 
   String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
   String menuName = request.getParameter("menuName") == null ? "" : (String)request.getParameter("menuName");
   %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="租房,买房,三棵松,地产,中介" />
<meta name="description" content="三棵松地产" />
<title>三棵松地产</title>
<link rel="stylesheet" type="text/css" media="screen"
	href="<%=basePath %>sks/css/frontpages/houseList.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<%=basePath %>sks/css/frontpages/BrightSide.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<%=basePath %>sks/css/frontpages/mytestcss.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<%=basePath %>sks/css/frontpages/news.css" />

</head> 
 
<body onload="javascript:changeMenu('<%=menuName%>');">  
<div class="wrap">
<jsp:include page="../header.jsp"></jsp:include>
<div id="out-background"> 
 
 
<div id="container" class="home-width"> 
<html:form action="sks/news" method="post">
<html:hidden property="method" value="hotNewsList"/>
<html:hidden property="page"/>
<div id="news-content"> 
	<div class="list-title"> 
    	<div class="left-conner"></div> 
        <div class="title-content"> 
            <span><a href="<%=basePath %>sks/frontpages/index.jsp">SKS房地产</a> > <a href="<%=basePath %>sks/news.do?method=indexNewsList&menuName=newsIndex">资讯</a> >热点新闻</span> 
        </div> 
        <div class="right-conner"></div> 
    </div>
    <div class="left-content"> 
        <div class="info-list-box"> 
			<div class="content-box">
				<c:forEach items="${pageView.records}" var="entry"> 
			    <dl> 
			        <dt> 
			            <ul> 
			                <li class="info-title"> 
			                    <a href="<html:rewrite action='/sks/news?method=infoList&menuName=newsIndex&newsId=${entry.newsId}'/>" target="_blank">${entry.title}</a><br/> 
			                </li> 
			            </ul> 
			        </dt> 
			        <dd class="list-detail"> 
			        	&nbsp; &nbsp;${fn:substring(entry.section,0,100) }...            
				        <div class="pkg"></div> 
			        </dd >
			        <dd style="text-align: right;">
		                <a href="${entry.link}" target="_blank">${entry.source} &nbsp; &nbsp;<fmt:formatDate value='${entry.publishTime}' pattern='yyyy-MM-dd' /> </a>
			        </dd>
			    </dl>
			    </c:forEach>
			    <div>
			    <br>
			    <fy:page actionPath="/sks/news.do?method=hotNewsList&menuName=newsIndex" isNewForm="false" formName="newsForm" curPageNo="${pageView.currentpage}" pageSize="${pageView.maxresult}" totalRows="${pageView.totalrecord}"/>							
			</div>
			</div> 
        </div> 
    </div> 
	<div id="mainright" class="right-content"> 		
		<div class="seo-info-box"> 
			<div class="left-conner"></div>
			<div class="content-line news-top-hot"> 
			    <div class="title"><b>推荐阅读</b></div>
			    <c:forEach items="${hotNews.records}" var="entry" begin="0" end="12" step="1" >
			        <dl> 
			            <dd><a href="/sks/news.do?method=infoList&menuName=newsIndex&newsId=${entry.newsId}" target="_blank">${fn:substring(entry.title,0,15)}</a></dd> 
			        </dl> 
			    </c:forEach>   
			    
			</div> 
		<div class="bottom-line"></div> 
		</div>     
	</div> 
</div> 
</html:form>

<!-- footer starts here -->	
<jsp:include page="../rooster.jsp"></jsp:include>
<!-- footer ends here -->
</div>

</div>
</div>
</body> 
</html> 